package cn.icare.cms.model.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.List;

@ApiModel(value = "AddOrderRo",description = "新增订单参数对象类")
public class AddOrderRo {
    @ApiModelProperty(value = "用户id")
    private Long memberid;

    @ApiModelProperty(value = "用户名称")
    private String membername;

    @ApiModelProperty(value = "订单实付总金额")
    private BigDecimal ammount;

    @ApiModelProperty(value = "商品列表")
    private List<OrderItemRo> items;

    @ApiModelProperty(value = "收货信息")
    private  OrderAddressRo address;

    @ApiModelProperty(value = "订单原价总金额")
    private BigDecimal sumamount;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal disamount;

    @ApiModelProperty(value = "优惠券Id")
    private Integer couponid;


    @ApiModelProperty(value = "配送费")
    private BigDecimal expressfee;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注信息")
    private String memo;

    /**
     * 配送时间
     */
    @ApiModelProperty(value = "配送时间")
    private String expresstime;





    public Long getMemberid() {
        return memberid;
    }

    public void setMemberid(Long memberid) {
        this.memberid = memberid;
    }

    public String getMembername() {
        return membername;
    }

    public void setMembername(String membername) {
        this.membername = membername;
    }

    public BigDecimal getAmmount() {
        return ammount;
    }

    public void setAmmount(BigDecimal ammount) {
        this.ammount = ammount;
    }

    public List<OrderItemRo> getItems() {
        return items;
    }

    public void setItems(List<OrderItemRo> items) {
        this.items = items;
    }

    public OrderAddressRo getAddress() {
        return address;
    }

    public void setAddress(OrderAddressRo address) {
        this.address = address;
    }

    public BigDecimal getSumamount() {
        return sumamount;
    }

    public void setSumamount(BigDecimal sumamount) {
        this.sumamount = sumamount;
    }

    public BigDecimal getDisamount() {
        return disamount;
    }

    public void setDisamount(BigDecimal disamount) {
        this.disamount = disamount;
    }

    public Integer getCouponid() {
        return couponid;
    }

    public void setCouponid(Integer couponid) {
        this.couponid = couponid;
    }

    public BigDecimal getExpressfee() {
        return expressfee;
    }

    public void setExpressfee(BigDecimal expressfee) {
        this.expressfee = expressfee;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getExpresstime() {
        return expresstime;
    }

    public void setExpresstime(String expresstime) {
        this.expresstime = expresstime;
    }
}
